<<<<<<< HEAD
from pymongo import MongoClient

MONGODB_URI = "mongodb+srv://tutu:bcm123456@cluster0.cdjvphe.mongodb.net/"
client = MongoClient(MONGODB_URI)
blog_tutu = client.blog_tutu
blogs = blog_tutu.blog.find({})
lists = [ (i['content'][:20],i['date'],i['content'],) for i in blogs]
print(lists)
    
=======
import datetime
s= '2014-12-1'
print(datetime.date.today().strftime("%m - %d"))
>>>>>>> 8f5412e1b2f20bd5245f0617722b9f3f570f772f
